<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="utf-8">
    <title>{$goods.seller_title}-朋伴网</title>
    <meta name="keywords" content="{$tpshop_config['shop_info_store_keyword']}" />
    <meta name="description" content="{$tpshop_config['shop_info_store_desc']}" />
</head>

<body>

<!--------頭部開始-------------->
<include file="Public/header" />
<include file="Public/topnav" />
<!--------頭部結束-------------->
<link rel="stylesheet" href="__STATIC__/css/category.css" type="text/css">
<script src="__PUBLIC__/js/pc_common.js"></script>
<link rel="stylesheet" href="__STATIC__/css/location.css" type="text/css"><!-- 收貨地址，物流運費 -->

<form name="buy_goods_form" method="post" id="buy_goods_form" >
<div class="page_pad">
  <div class="page_margin">
    <div class="detail_info">
      <div class="detail_left">
        <div class="page_radius page_hidden">
          <div class="page_padin">
            <div class="detail_height">
              <div class="goods_ptit">
                <a href="javascript:;">

                  <span>
                    <php>if($goods[goods_type]==3){</php>
                         <img src="__STATIC__/images/sico_tm2.png" />
                    <php>}elseif($goods[goods_type]==4){</php>
                       <img src="__STATIC__/images/sico_tb2.png" />
                    <php>}elseif($goods[goods_type]==5){</php>
                      <img src="__STATIC__/images/sico_jd2.png" />
                    <php>}elseif($goods[goods_type]==6){</php>

                    <php>}</php>

                  </span>
                  {$goods.seller_title}


                </a>
              </div>

              <div class="goods_mess">
                <div class="goods_mdiv">

                  <if condition="$goods[label]">
                    <php> foreach(explode(',',$goods[label]) AS $va){</php>
                    <span class="goods_tabs">{$va}</span>
                    <php> }</php>
                  </if>



                 <!-- <span class="goods_tabs">可当面交易</span>
                  <span class="goods_tabs">公司认证</span>
                  <span class="goods_tabs">优质店铺</span>-->
                </div>
                <div class="goods_infotit">

                  <div class="goods_mdiv">
                    保 障 金：
                    <span class="goods_price"> {$goods.b_price}<span>元<if condition="$goods['b_price_type'] eq 0">(退还)<else/>(不退还)</if></span></span>
                    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                    技术年费：
                    <if condition="$goods[goods_type] eq 3">
                      <span class="goods_price">{$goods.j_price}<span>元<if condition="$goods['j_price_type'] eq 0">(退还)<else/>(不退还)</if></span></span>

                      <else/>
                      <span class="goods_price">{$goods.j_price}<span>元 </span></span>

                      <!--<span class="goods_price">{$goods.j_price}<span>(截止日) </span></span>-->

                    </if>
                    <!--<span class="goods_price">{$goods.j_price}<span>元<if condition="$goods['j_price_type'] eq 0">(退还)</if></span></span>-->
                  </div>

                  <div class="goods_infotr"><div class="goods_rprice">￥<span>{$goods.price}</span></div></div>
                </div><!--goods_infotit-->
              </div><!--goods_mess-->

              <div class="goods_buy">
                <div class="goods_mess">
                  <div class="goods_mdiv">
                    <div class="goods_weigui">
                      <span class="goods_weigui1">2018年一般违规：{$weigui_log[0]}分</span>
                      <span class="goods_weigui2">2018年严重违规：{$weigui_log[1]}分</span>
                      <span class="goods_weigui3">2018年售假违规：{$weigui_log[2]}分</span>
                    </div><!--goods_weigui-->
                  </div><!--goods_share-->
                  <div  class="goods_mdiv goods_mdiv_last">
                    <span <if condition="$goods[goods_type] eq 4">style="display: none" </if>><!--淘宝店铺没有动态评分-->
                    动态评分：
                    <div class="pingfeng" >
                      {$goods.dongtai_score|get_pingfen_style}

                    </div>
                    </span>

                    <span <if condition="$goods[goods_type] neq 4">style="display: none"</if>>
                    店铺信用：
                    <div class="tbf_ingo">


                      <foreach name="goods.tb_xinyong" item="q" >
                        <if condition="$q eq 1">
                          <span class="tbf"><img src="__STATIC__/images/tbf1.gif" /></span>
                          <elseif condition="$q eq 2"/>
                          <span class="tbf"><img src="__STATIC__/images/tbf2.gif" /></span>
                          <elseif condition="$q eq 3"/>
                          <span class="tbf"><img src="__STATIC__/images/tbf3.gif" /></span>
                          <elseif condition="$q eq 4"/>
                          <span class="tbf"><img src="__STATIC__/images/tbf4.gif" /></span>
                        </if>


                      </foreach>

                    </div>
                    </span>

                    <!--<span class="goods_dt"> {$goods.dongtai_score}</span>-->
                    <if condition=" $is_collect eq 1">
                      <div class="goods_sc goods_sc_on">
                        <p onclick="cancel_collect({$goods.goods_id});goods_schtml()"><i class="icon-shoucang"></i> 已收藏</p>
                      </div>
                      <else/>
                      <div class="goods_sc">
                        <p onclick="collect_goods({$goods.goods_id});goods_schtml();"><i class="icon-shoucang"></i> 收藏</p>
                      </div>
                    </if>
                    
                    <script >
                        //取消收藏
                        function cancel_collect(goods_id) {
                            $.ajax({
                                type : "GET",
                                dataType: "json",
                                url:"/index.php?m=Home&c=goods&a=cancel_collect&goods_id="+goods_id,//+tab,
                                success: function(data){

                                }
                            });

                        }
						function goods_schtml()
						{
							if($(".goods_sc").hasClass("goods_sc_on"))
							{
								html = '<p onclick="collect_goods({$goods.goods_id});goods_schtml();"><i class="icon-shoucang"></i> 收藏</p>';
								$(".goods_sc").removeClass("goods_sc_on");
							}
							else
							{
								html = '<p onclick="cancel_collect({$goods.goods_id});goods_schtml()"><i class="icon-shoucang"></i> 已收藏</p>';
								$(".goods_sc").addClass("goods_sc_on");
							}
							$(".goods_sc").html(html);
						}
                    </script>


                  </div><!--goods_mdiv-->
                </div><!--goods_mess-->

                <div class="goods_click">

                  <if condition="$goods[status] eq 1">
                    <a class="gm" href="{:U('add_order',array('goods_id'=>$goods[goods_id]))}"  >立即预定</a>
                    <!--<a class="yd" href="{:U('add_order',array('goods_id'=>$goods[goods_id]))}" >立即预订</a>-->
                    <else/>

                    <a class="gm_no" href="javascript:;" >立即预定</a>
                    <!--<a class="gm_no" href="javascript:;" >立即预订</a>-->
                  </if>




                </div><!--goods_click-->
              </div><!--goods_buy-->
            </div><!--detail_height-->
          </div><!--page_padin-->
        </div><!--page_radius-->

        <if condition="$goods[goods_type] eq 4 or $goods[goods_type] eq 6"><!--淘宝 或者其他店铺-->

          <div class="detail_top">
            <div class="page_radius page_hidden">
              <div class="page_padin">
                <div class="detail_height2">
                  <div class="detail_metit"><span>商品编号：</span>{$goods.goods_number}
                </div><!--detail_metit-->

                  <div class="detail_hangye">
                    <!--<div class="detail_hadl detail_hadl_first">
                      <div class="pad">
                        <ul>
                          <li><span class="tt">所属类型</span><span class="cc">
                          <php>if($goods[goods_type]==4){</php>
                          淘宝店铺
                          <php>}elseif($goods[goods_type]==6){</php>
                          其他店铺
                          <php>}</php>
                          </span></li>
                          <li><span class="tt">所在地区</span><span class="cc"><php>$name=$goodsArea[$goods[area_type]];echo $name;</php> </span></li>
                          <li><span class="tt">所属行业</span><span class="cc"><php>$name=$goodsTrade[$goods[trade_type]];echo $name;</php>  </span></li>

                          &lt;!&ndash;<li><span class="tt">是否带货</span><span class="cc"><if condition="$goods[cum_goods] eq 1">是<else/>否</if></span></li>&ndash;&gt;
                        </ul>
                      </div>
                    </div>&lt;!&ndash;detail_hadl&ndash;&gt;-->

                 <!--   <div class="detail_hadl">
                      <div class="pad">
                        <ul>
                          <li><span class="tt">商标类型</span><span class="cc"><php>$name=$brandType[$goods[area_type]];echo $name;</php> </span></li>

                          <li><span class="tt">所属行业</span><span class="cc"><php>$name=$goodsTrade[$goods[trade_type]];echo $name;</php>  </span></li>
                          <li><span class="tt">团队转让</span><span class="cc"><if condition="$goods[zrtd_status] eq 1">是<else/>否</if></span></li>
                        </ul>
                      </div>
                    </div>&lt;!&ndash;detail_hadl&ndash;&gt;-->
                    <div class="detail_hadl detail_hadl_first">
                      <div class="pad">
                        <ul>
                          <li><span class="tt">所属类型</span><span class="cc"><php>if($goods[goods_type]==4){</php>淘宝店铺<php>}elseif($goods[goods_type]==6){</php>其他店铺<php>}</php></span></li>
                        </ul>
                      </div>
                    </div><!--detail_hadl-->
                    <div class="detail_hadl">
                      <div class="pad">
                        <ul>
                          <li><span class="tt">所在地区</span><span class="cc"><php>$name=$goodsArea[$goods[area_type]];echo $name;</php> </span></li>

                          <!--<li><span class="tt">纳税资质</span><span class="cc">{$goods[taxpayer_qualification]} </span></li>-->
                          <!--<li><span class="tt">货源渠道</span><span class="cc"><if condition="$goods[hy_status] eq 1">提供<else/>不提供</if></span></li>-->
                          <!--<li><span class="tt">运营经验</span><span class="cc"><if condition="$goods[jyjy_status] eq 1">传授<else/>不传授</if></span></li>-->
                        </ul>
                      </div>
                    </div><!--detail_hadl-->
                    <div class="detail_hadl">
                      <div class="pad">
                        <ul>
                          <li><span class="tt">所属行业</span><span class="cc"><php>$name=$goodsTrade[$goods[trade_type]];echo $name;</php>  </span></li>

                          <!--<li><span class="tt">纳税资质</span><span class="cc">{$goods[taxpayer_qualification]} </span></li>-->
                          <!--<li><span class="tt">货源渠道</span><span class="cc"><if condition="$goods[hy_status] eq 1">提供<else/>不提供</if></span></li>-->
                          <!--<li><span class="tt">运营经验</span><span class="cc"><if condition="$goods[jyjy_status] eq 1">传授<else/>不传授</if></span></li>-->
                        </ul>
                      </div>
                    </div><!--detail_hadl-->

                    <div class="detail_hadl detail_hadl_last">
                      <div class="pad">
                        <ul>
                          <li><span class="tt">纳税资质</span><span class="cc">{$goods[taxpayer_qualification]} </span></li>
                          <!--<li><span class="tt">货源渠道</span><span class="cc"><if condition="$goods[hy_status] eq 1">提供<else/>不提供</if></span></li>-->
                          <!--<li><span class="tt">运营经验</span><span class="cc"><if condition="$goods[jyjy_status] eq 1">传授<else/>不传授</if></span></li>-->
                        </ul>
                      </div>
                    </div><!--detail_hadl-->
                    <div class="clear"></div>
                    <div class="detail_hamore"><a href="javascript:void(0)" data-to="store_pic">更多<i class="icon-sanjiaoxing-down"></i></a></div>
                  </div><!--detail_hangye-->

                  <div class="goods_mess">
                    <!--<div class="goods_mdiv">一级类目：{$goods.epmi}</div>-->
                    <div class="goods_mtable">
                      <table>
                        <tr>
                          <td width="76" valign="top">卖家描述：</td>
                          <td valign="top">{$goods.seller_describe}
                            <!--【江苏徐州地区5年店】【开通家庭/个人清洁工具，收纳整理、居家布艺等多个类目】【公司小规模纳税资质】【专营店带4个r标转店】【开通家庭/个人清洁工具，收纳整理、店】【开通家庭/个人清洁工具，收纳整理、-->
                          </td>
                        </tr>
                      </table>
                    </div>
                  </div><!--goods_mess-->
                </div><!--detail_height2-->
              </div><!--page_padin-->
            </div><!--page_radius-->
          </div><!--detail_top-->


          <else/>
          <div class="detail_top">
            <div class="page_radius page_hidden">
              <div class="page_padin">
                <div class="detail_height2">
                  <div class="detail_metit"><span>商品编号：</span>{$goods.goods_number}
                </div><!--detail_metit-->

                  <div class="detail_hangye">
                    <div class="detail_hadl detail_hadl_first">
                      <div class="pad">
                        <ul>
                          <li><span class="tt">所属类型</span><span class="cc color_red"><php>if($goods[goods_type]==4){</php>淘宝店铺<php>}elseif($goods[goods_type]==6){</php>其他店铺<php>}elseif($goods[goods_type]==3){ $name=$storeType_tm[$goods[store_type]];echo $name;}elseif($goods[goods_type]==5){ $name=$storeType_tm[$goods[store_type]];echo $name;}</php></span></li>
                          <li><span class="tt">所在地区</span><span class="cc color_red"><php>$name=$goodsArea[$goods[area_type]];echo $name;</php> </span></li>
                          <li><span class="tt">是否带货</span><span class="cc color_red"><if condition="$goods[cum_goods] eq 1">是<else/>否</if></span></li>
                        </ul>
                      </div>
                    </div><!--detail_hadl-->

                    <div class="detail_hadl">
                      <div class="pad">
                        <ul>
                          <li><span class="tt">商标类型</span><span class="cc color_red"><php> echo $brandType[$goods[brand_type]];</php> </span></li>
                          <li><span class="tt">所属行业</span><span class="cc color_red"><php> echo $goodsTrade[$goods[trade_type]];</php>  </span></li>
                          <li><span class="tt">团队转让</span><span class="cc color_red"><if condition="$goods[zrtd_status] eq 1">是<else/>否</if></span></li>
                        </ul>
                      </div>
                    </div><!--detail_hadl-->

                    <div class="detail_hadl detail_hadl_last">
                      <div class="pad">
                        <ul>
                          <li><span class="tt">纳税资质</span><span class="cc color_red">{$goods[taxpayer_qualification]} </span></li>
                          <li><span class="tt">货源渠道</span><span class="cc color_red"><if condition="$goods[hy_status] eq 1">提供<else/>不提供</if></span></li>
                          <li><span class="tt">运营经验</span><span class="cc color_red"><if condition="$goods[jyjy_status] eq 1">传授<else/>不传授</if></span></li>
                        </ul>
                      </div>
                    </div><!--detail_hadl-->
                    <div class="clear"></div>
                    <div class="detail_hamore"><a href="javascript:void(0)" data-to="store_pic">更多<i class="icon-sanjiaoxing-down"></i></a></div>
                  </div><!--detail_hangye-->

                  <div class="goods_mess">
                    <div class="goods_mtable" style="margin-bottom:12px;">
                      <table>
                        <tr>
                          <td width="76" valign="top">一级类目：</td>
                          <td valign="top"><span class="color_red">{$goods.epmi}</span></td>
                        </tr>
                      </table>
                    </div>
                    <div class="goods_mtable">
                      <table>
                        <tr>
                          <td width="76" valign="top">卖家描述：</td>
                          <td valign="top">{$goods.seller_describe}</td>
                        </tr>
                      </table>
                    </div>
                  </div><!--goods_mess-->
                </div><!--detail_height2-->
              </div><!--page_padin-->
            </div><!--page_radius-->
          </div><!--detail_top-->

        </if>






      </div><!--detail_left-->

      <div class="detail_right">
        <div class="page_radius page_hidden">
          <div class="page_padin">
            <div class="kefu_box">
              <div class="kefu_boxpad">
                  <foreach name="sales_list" item="vvv" key="kkk">
                      <if condition="$kkk eq 0">
                          <div class="kefu_big">
                              <div class="kefu_pic"><img src="{$vvv.head_img}" /></div>
                              <div class="kefu_word">
                                  <div class="h1">

                                    <span class="metal matal_lv1"><i class="icon-jinpai"></i></span>   {$vvv.level|get_level_name}

                                      &nbsp; {$vvv.name}</div>
                                  <div class="h2">TEL：{$vvv.mobile}</div>
                                  <div class="h2"><a href="tencent://Message/?Uin={$vvv.qq}&amp;Menu=yes">QQ:{$vvv.qq}</a></div>
                                  <div class="h3"><div class="goods_ra goods_razx_on"><a href="tencent://Message/?Uin={$vvv.qq}&amp;Menu=yes"><i class="icon-zxzx"></i> 咨询顾问</a></div></div>
                              </div><!--kefu_word-->
                              <div class="clear"></div>
                          </div><!--kefu_big-->
                          <else/>
                          
                          <div class="kefu_little" style="display:none;">
                              <div class="kefu_pic"><img src="{$vvv.head_img}" /></div>
                              <div class="kefu_word">
                                  <div class="h1">

                                    <span class="metal matal_lv1"><i class="icon-jinpai"></i></span> {$vvv.level|get_level_name}&nbsp; {$vvv.name}</div>
                                  <div class="h2">TEL:{$vvv.mobile}</div>
                                  <div class="h3"><div class="goods_razx2_on"><a href="tencent://Message/?Uin={$vvv.qq}&amp;Menu=yes">咨询顾问</a></div></div>
                              </div>
                              <div class="clear"></div>
                          </div>
                      </if>
                  </foreach>
                  
                  <div class="kefu_contact">
                    <div class="kefu_pp">
                      <p>客服邮件：PB@PENGBAN.COM.CN</p>
                      <p>客服电话：0760-8986 0352</p>
                    </div>
                    <div class="kefu_share">
					  <style>.bshare-custom a {filter:grayscale(0%);-webkit-filter:grayscale(0%);}</style>
                      <!-- bshare Button BEGIN -->
                      <div class="bshare-custom"><div class="bsPromo bsPromo2"></div><a title="分享到微信" class="bshare-weixin" href="javascript:void(0);"></a><a title="分享到QQ空间" class="bshare-qzone"></a><a title="分享到新浪微博" class="bshare-sinaminiblog"></a><a title="分享到人人网" class="bshare-renren"></a><a title="分享到腾讯微博" class="bshare-qqmb"></a><a title="分享到网易微博" class="bshare-neteasemb"></a><a title="更多平台" class="bshare-more bshare-more-icon more-style-addthis"></a><span class="BSHARE_COUNT bshare-share-count" style="float: none;">0</span></div><script type="text/javascript" charset="utf-8" src="https://static.bshare.cn/b/buttonLite.js#style=-1&amp;uuid=&amp;pophcol=2&amp;lang=zh"></script><script type="text/javascript" charset="utf-8" src="https://static.bshare.cn/b/bshareC0.js"></script>
                      <!-- bshare Button END -->
                    </div><!--kefu_share-->
                    <div class="kefu_icon">
                      <div class="kefu_iconp"><div class="div1"><i class="icon-dianpu"></i></div><p>真实店源</p></div>
                      <div class="kefu_iconp"><div class="div2"><i class="icon-anquanrenzheng"></i></div><p>资金保障</p></div>
                      <div class="kefu_iconp"><div class="div3"><i class="icon-kefu"></i></div><p>售后服务</p></div>
                      <div class="clear"></div>
                    </div>
                  </div><!--kefu_contact-->
              </div><!--kefu_boxpad-->
            </div><!--kefu_box-->
          </div><!--page_padin-->
        </div><!--page_radius-->
      </div><!--goods_right-->

      <div class="clear"></div>
    </div><!--detail_info-->

    <!------------------------------------>

    <div class="detail_top">
      <div class="page_radius ">
        <div id="detail_xqtabs" class="detail_xqtabs">
          <ul>
            <li><a class="on" href="javascript:void(0)" data-to="store_pic">店铺截图</a></li>
            <li><a href="javascript:void(0)" data-to="store_qk">店铺情况</a></li>
            <!--<li><a href="javascript:void(0)" data-to="store_qa">常见问题</a></li>-->
            <li><a href="javascript:void(0)" data-to="store_gm">购买流程</a></li>
            <li><a href="javascript:void(0)" data-to="store_tl">同类店铺</a></li>
            <div class="clear"></div>
          </ul>
        </div><!--detail_xqtabs-->

        <div class="detail_xqtabs_ful">
          <div class="page_margin">
            <ul>
              <li><a class="on" href="javascript:void(0)" data-to="store_pic">店铺截图</a></li>
              <li><a href="javascript:void(0)" data-to="store_qk">店铺情况</a></li>
              <!--<li><a href="javascript:void(0)" data-to="store_qa">常见问题</a></li>-->
              <li><a href="javascript:void(0)" data-to="store_gm">购买流程</a></li>
              <li><a href="javascript:void(0)" data-to="store_tl">同类店铺</a></li>
              <div class="clear"></div>
            </ul>
          </div>
        </div><!--detail_xqtabs_ful-->

        <div class="page_padin">
          <div id="store_pic" class="store_part">
            <div class="store_tit"><p>店铺截图</p></div>
            <div class="store_picin">
              <div class="store_picli">
                <div class="pad">
                  <a class="store_picli1 on" href="javascript:void(0)" onclick="cstore_pic(1)" data-img="{$goods.yijileimu_img}">授权类目</a>
                  <a class="store_picli2" href="javascript:void(0)" onclick="cstore_pic(2)" data-img="{$goods.yingyee_img}">营业额</a>
                  <a class="store_picli3" href="javascript:void(0)" onclick="cstore_pic(3)" data-img="{$goods.lishikoufen_img}">历史扣分</a>
                  <a class="store_picli4" href="javascript:void(0)" onclick="cstore_pic(4)" data-img="{$goods.xuqiankaoke_img}">续签考核</a>
                </div>
              </div><!--store_picli-->
              <input id="store_picid" value="1" type="hidden" />
              <div class="store_piccon">
                <table>
                  <tr>
                    <td width="60" class="hover" align="left" onclick="cstore_pic('prev')"><div class="store_picb"><i class="icon-gfprev"></i></div></td>
                    <td align="center"><img id="store_picimg" src="{$goods.yijileimu_img}" /></td>
                    <td width="60" class="hover" align="right" onclick="cstore_pic('next')"><div class="store_picb"><i class="icon-gfnext"></i></div></td>
                  </tr>
                </table>
              </div><!--store_piccon-->
            </div><!--store_picin-->
          </div><!--store_pic-->

          <div id="store_qk">

            <if condition="$goods[goods_type] eq 4 or $goods[goods_type] eq 6"><!--淘宝或者其他店铺-->
              <div class="store_part">
                <div class="store_tit"><p>店铺情况</p></div>
                <div class="store_ul">
                  <div class="store_li"><span>店铺名称：</span>
                    ******
                    <!--{$goods.seller_title}-->
                  </div>
                  <div class="store_li"><span>商城类型：</span>

                    <php>if($goods[goods_type]==4){</php>
                    淘宝店铺
                    <php>}elseif($goods[goods_type]==6){</php>
                    其他店铺
                    <php>}</php>

                  </div>
                  <div class="store_li"><span>开店时长：</span>{$goods.start_time}年</div>
                  <div class="store_li"><span>所在地区：</span><php>echo $goodsArea[$goods[area_type]];</php></div>
                  <div class="store_li"><span>违规记录：</span>{$goods.weigui_log}</div>
                <!--  <div class="store_li"><span>当前主营：</span>{$goods.now_business}</div>
                  <div class="store_li"><span>违规记录：</span>{$goods.weigui_log}</div>
                  <div class="store_li"><span>信用额度：</span>{$goods.xinyong_price}</div>
                  <div class="store_li"><span>使用中贷款：</span>{$goods.dk_price}</div>

                  <div class="store_li"><span>动态评分：
                </span>
                    <div class="pingfeng">
                      {$goods.dongtai_score|get_pingfen_style}
                      &lt;!&ndash;    <p class="green"></p>
                          <p class="green"></p>
                          <p class="green"></p>&ndash;&gt;
                    </div>
                    <span>{$goods.dongtai_score} </span>
                  </div>
                  <div class="store_li"><span>一级类目：</span>{$goods.epmi} </div>-->
                  <div class="clear"></div>
                </div><!--store_ul-->
              </div><!--store_part-->
              <else/>
              <div class="store_part">
                <div class="store_tit"><p>店铺情况</p></div>
                <div class="store_ul">
                  <div class="store_li"><span>店铺名称：</span>
                    ******
                    <!--{$goods.seller_title}-->
                  </div>
                  <div class="store_li"><span>商城类型：</span>
                    <php>
                      if($goods[goods_type]==3){
                      echo $storeType_tm[$goods[store_type]];
                      }elseif($goods[goods_type]==5){
                      echo $storeType_tm[$goods[store_type]];
                      }

                    </php>
                  </div>
                  <div class="store_li"><span>开店时长：</span>{$goods.start_time}年</div>
                  <div class="store_li"><span>所在地区：</span><php>echo $goodsArea[$goods[area_type]];</php></div>

                  <div class="store_li"><span>违规记录：</span>{$goods.weigui_log}</div>
                  <div class="store_li"><span>信用额度：</span>{$goods.xinyong_price}</div>
                  <div class="store_li"><span>使用中贷款：</span>{$goods.dk_price}</div>

                  <!--<div class="store_li"><span>动态评分：</span>
                    <div class="pingfeng">
                      {$goods.dongtai_score|get_pingfen_style}
                    </div>
                    <span>{$goods.dongtai_score} </span>
                  </div>-->
                  <div class="clear"></div>
                  
                  <div class="goods_mtable" style="margin-top:7px; margin-bottom:14px;">
                    <table>
                      <tr>
                        <td valign="top"><div class="dongtai_score">{$goods.dongtai_score|get_pingfen_style_info}<div class="clear"></div></div></td>
                      </tr>
                    </table>
                  </div>
                  <div class="goods_mtable" style="margin-bottom:14px;">
                    <table>
                      <tr>
                        <td width="76" valign="top">当前主营：</td>
                        <td valign="top"><div style="color:#444;">{$goods.now_business}</div></td>
                      </tr>
                    </table>
                  </div>
                  <div class="goods_mtable">
                    <table>
                      <tr>
                        <td width="76" valign="top">一级类目：</td>
                        <td valign="top"><div style="color:#444;">{$goods.epmi}</div></td>
                      </tr>
                    </table>
                  </div>
                </div><!--store_ul-->
              </div><!--store_part-->
            </if>







            <div <if condition="$goods[goods_type] eq 4">style="display: none" </if> class="store_part"><!--淘宝店铺没有商标情况-->
              <div class="store_tit"><p>商标情况</p></div>
              <div class="store_ul">
                <div class="store_li"><span>商标名称：</span>
                  ******
                  <!--{$goods.brand_name}-->
                </div>
                <div class="store_li"><span>商标持有者：</span>
                  ******
                  <!--{$goods.brand_holder}-->
                </div>
                <div class="store_li"><span>是否过户：</span> <if condition="$goods[is_shift] eq 1">是<else/>否</if></div>
                <div class="store_li"><span>商标类型：</span><php>$name=$brandType[$goods[brand_type]];echo $name;</php><if condition="$goods[brand_info] neq ''">（第{$goods.brand_info}类） </if></div>
                <div class="clear"></div>
              </div><!--store_ul-->
            </div><!--store_part-->

            <div class="store_part">
              <div class="store_tit"><p>公司情况</p></div>
              <div class="store_ul">
                <div class="store_li"><span>公司名称：</span>
                  ******
                  <!--{$goods.company_name} -->
                </div>
                <div class="store_li"><span>注册日期：</span>{$goods.company_reg_time} </div>
                <div class="store_li"><span>注册资金：</span>{$goods.reg_money}万元  </div>
                <div class="store_li"><span>纳税人资质：</span>{$goods.taxpayer_qualification} </div>

                <div class="store_li"><span>经营状态：</span> <if condition="$goods[jy_status] eq 0">正常<else/>异常</if></div>
                <div class="store_li"><span>税务状态：</span> <if condition="$goods[cw_status] eq 0">正常<else/>异常</if></div>
                <div class="store_li"><span>年报状态：</span>{$goods.annals_info} </div>
                <div class="store_li"><span>股东人数：</span>{$goods.shareholder_num} 人</div>
                <div class="clear"></div>
              </div><!--store_ul-->
            </div><!--store_part-->

            <div class="store_part">
              <div class="store_tit"><p>卖家寄语</p></div>
              <div class="store_ul">
                <div class="store_con">
                  {$goods.seller_send_word}
                  <!--【江浙沪地区店】【厨房/烹饪用具类目全开】【店铺干净无扣分无贷款】【公司一般纳税人】【公司名下带京东旗舰店】【京东旗舰店商标授权】 1、店铺概况： 【江浙沪地区】店铺；【类目全开】厨房/烹饪用具相关产品都可经营发布；【店铺干净】无扣分无贷款；【公司一般纳税人】符合天猫招商要求，有助于店铺进一步做大做强。 2、附加优势： 【公司名下带有京东旗舰店】京东旗舰店商标授权，里面有3万押金，只需退押金即可。 3、卖家说： 店铺基础牢固，老客户多，接手即可经营，店铺21类商标是没人注册，欲购从速。-->
                </div>
              </div><!--store_ul-->
            </div><!--store_part-->
          </div><!--store_qk-->
       <!--
          <div id="store_qa">
            <div class="store_part">
              <div class="store_tit"><p>常见问题</p></div>

              <tpshop sql="select * from `__PREFIX__question_answer` where status = 1   and type_id=2 order by is_top asc limit 2 " key="k" item='v'>
                <div class="store_ul">
                  <div class="store_fali">
                    <div class="h1"><span class="icon">?</span>{$v.question}？</div>
                    <div class="h2"><span class="icon">A</span>{$v.answer}</div>
                  </div>&lt;!&ndash;store_fali&ndash;&gt;
                </div>&lt;!&ndash;store_ul&ndash;&gt;

              </tpshop>

   &lt;!&ndash;           <div class="store_ul">
                <div class="store_fali">
                  <div class="h1"><span class="icon">?</span>购买天猫商城怎么办理公司过户呢？</div>
                  <div class="h2"><span class="icon">A</span>购买天猫商城是将天猫帐号信息以及所属公司一并过户给买家，需要买家付款后预约见面交易并亲自到所属公司当地工商所办理公司法人和股权过户手续。如您还有任何其它天猫商城转让疑问请咨询在线服务顾问。</div>
                </div>&lt;!&ndash;store_fali&ndash;&gt;
              </div>&lt;!&ndash;store_ul&ndash;&gt;


              <div class="store_ul">
                <div class="store_fali">
                  <div class="h1"><span class="icon">?</span>购买天猫商城怎么办理公司过户呢？</div>
                  <div class="h2"><span class="icon">A</span>购买天猫商城是将天猫帐号信息以及所属公司一并过户给买家，需要买家付款后预约见面交易并亲自到所属公司当地工商所办理公司法人和股权过户手续。如您还有任何其它天猫商城转让疑问请咨询在线服务顾问。</div>
                </div>&lt;!&ndash;store_fali&ndash;&gt;
              </div>&lt;!&ndash;store_ul&ndash;&gt;

              <div class="store_ul">
                <div class="store_fali">
                  <div class="h1"><span class="icon">?</span>购买天猫商城怎么办理公司过户呢？</div>
                  <div class="h2"><span class="icon">A</span>购买天猫商城是将天猫帐号信息以及所属公司一并过户给买家，需要买家付款后预约见面交易并亲自到所属公司当地工商所办理公司法人和股权过户手续。如您还有任何其它天猫商城转让疑问请咨询在线服务顾问。</div>
                </div>&lt;!&ndash;store_fali&ndash;&gt;
              </div>&lt;!&ndash;store_ul&ndash;&gt;&ndash;&gt;


            </div>&lt;!&ndash;store_part&ndash;&gt;
          </div>&lt;!&ndash;store_qa&ndash;&gt;-->

          <div id="store_gm">
            <div class="store_part">
              <div class="store_tit"><p>购买流程</p></div>
              <div class="store_ul">
                <div class="store_pic"><img src="__STATIC__/images/liucheng.gif" /></div>
              </div><!--store_ul-->
            </div><!--store_part-->
          </div><!--store_gm-->

          <div id="store_tl">
            <div class="store_part">
              <div class="store_tit"><p>同类店铺</p></div>
              <div class="store_ul2">
                <div class="store_tuijian">




                <foreach name="tj_list" item="v" key="k">

                  <div class="store_tupart <if condition='$k eq 1'>store_tupart2</if>">
                    <div class="caseno"><p>推荐</p></div>
                    <div class="bor">
                      <div class="pad">
                        <div class="store_tbox">
                          <span class="store_sico">
                            <php>if($v[goods_type]==3){</php>
                             <img src="__STATIC__/images/sico_tm.gif" />
                            <php>}elseif($v[goods_type]==4){</php>
                             <img src="__STATIC__/images/sico_tb.gif" />
                            <php>}elseif($v[goods_type]==5){</php>
                             <img src="__STATIC__/images/sico_jd.gif" />
                            <php>}elseif($v[goods_type]==6){</php>
                               <img src="__STATIC__/images/sico_qt.gif" />
                            <php>}</php>
                          </span>
                          <div class="store_th1"><a href="{:U('goodsInfo',array('id'=>$v['goods_id']))}">{$v.seller_title}</a></div>
                          <div class="store_tmess">
                            <ul>
                              <li>所属行业：{$goodsTrade[$v[trade_type]]} </li>
                              <li>商标类型：{$brandType[$v[brand_type]]}  </li>
                              <li>商城类型：<if condition="$v[goods_type] eq 3">天猫商城<elseif condition="$v[goods_type] eq 4"/>淘宝店铺<elseif condition="$v[goods_type] eq 5"/>京东商城<elseif condition="$v[goods_type] eq 6"/>其他商城</if> </li>
                              <!--<li>所属行业：{:get_attr_name_1($v[goods_id],3)} </li>-->
                              <!--<li>商标类型：{:get_attr_name_1($v[goods_id],2)} </li>-->
                              <!--<li>商城类型：{:get_attr_name_1($v[goods_id],2)}</li>-->
                            </ul>
                            <div class="store_hh">
                              <div class="h1">￥{$v.price}</div>
                              <div class="h2"><div class="goods_ra2_on"><a href="{:U('goodsInfo',array('id'=>$v['goods_id']))}" target="_blank">查询详情</a></div></div>
                            </div><!--store_hh-->
                          </div><!--store_tmess-->
                          <div class="goods_mess">
                            <div class="goods_mdiv">


                              <if condition="$v[label]">
                                <php> foreach(explode(',',$v[label]) AS $kw=>$vw){  </php>
                                <span class="goods_tabs">{$vw}</span>
                                <php>}</php>
                              </if>


                           <!--   <span class="goods_tabs">可当面交易</span>
                              <span class="goods_tabs">公司认证</span>
                              <span class="goods_tabs">优质店铺</span>-->
                            </div>
                          </div>
                        </div><!--store_tbox-->
                      </div>
                    </div>
                  </div><!--store_tupart-->
                </foreach>

                  <div class="clear"></div>
                </div><!--store_tuijian-->
                <div class="store_ltt">浏览过该网店的还看了</div>
              </div><!--store_ul2-->

              <div class="store_ul">
                <div class="store_liulan">

                  <foreach name="rm_list" item="v1" key="k1">
                    <div class="store_liuli">
                      <div class="pad">
                        <div class="fl">￥{$v1.price}</div>
                        <div class="fi">
                          <div class="h1"><a href="{:U('goodsInfo',array('id'=>$v1['goods_id']))}">{$v1.seller_title}</a></div>
                          <div class="h2"><span>一级类目：</span>{$v1.epmi} </div>
                        </div>
                        <div class="clear"></div>
                      </div>
                    </div>    <!--store_liuli-->
                  </foreach>









                  <div class="clear"></div>
                </div><!--store_liulan-->
              </div><!--store_ul-->

            </div><!--store_part-->
          </div><!--store_tl-->
        </div><!--page_padin-->
      </div><!--page_radius-->
    </div><!--detail_top-->
  </div><!--page_margin-->
</div><!--page_pad-->
</form>

<script>
//图片切换
function cstore_pic(o)
{
	if(o=="prev" || o=="next")
	{
		var index = $(".store_picli .on").index(this);
		aval = document.getElementById("store_picid").value;
		if(o=="prev")
		{
			aval--;
			if(aval<1)
			{
				aval = 1;
			}
		}
		else if(o=="next")
		{
			aval++;
			if(aval>4)
			{
				aval = 4;
			}
		}
	}
	else
	{
		aval = o;
	}
	$(".store_picli"+aval).addClass("on").siblings().removeClass("on");
	var img = $(".store_picli"+aval).data("img");
	$("#store_picimg").attr("src",img);
	document.getElementById("store_picid").value = aval;
}

//详情导航
$(".detail_xqtabs a, .detail_xqtabs_ful a, .detail_hamore a").click(function(){
	var id = $(this).data("to");
	$('html,body').animate({scrollTop:$('body').find('#'+id).offset().top-110}, 800);
});


var result = document.getElementById("detail_xqtabs").offsetTop;
$(window).scroll(function(){
if($(window).scrollTop()>result)
{
	$('.detail_xqtabs_ful').show();

}
else
{
	$('.detail_xqtabs_ful').hide();
}
});
//详情导航

                    $(document).ready(function(){
                        commentType = 1; // 評論類型
                        ajaxComment(1,1);// ajax 加載評價列表
                    });

                    // 好評差評 切換
                    $(".eval-cen-le a").click(function(){
                        $(".eval-cen-le li").removeClass('curres');
                        $(this).parent().addClass('curres');
                        commentType = $(this).data('t');// 評價類型   好評 中評  差評
                        ajaxComment(commentType,1);
                    });

                    // 用ajax分頁顯示評論
                    function ajaxComment(commentType,page){
                        $.ajax({
                            type : "GET",
                            url:"/index.php?m=Home&c=Goods&a=ajaxComment&goods_id={$goods['goods_id']}&commentType="+commentType+"&p="+page,//+tab,
                            success: function(data){
                                $("#ajax_comment_return").html('');
                                $("#ajax_comment_return").append(data);
                            }
                        });
                    }
                </script>


<script>




    $(document).ready(function(){
        // 更新商品價格
        get_goods_price();

    });

    /**
     * 切換規格
     */
    function switch_spec(spec)
    {
        $(spec).siblings('input').trigger('click');	 // 讓隱藏的 單選按鈕選中
        $(spec).parent().parent().parent().parent().find("div.sku").removeClass('sku-bo-blo'); //   清空勾選圖標
        $(spec).parent().addClass('sku-bo-blo'); // 當前 加上勾選圖標
        // 更新商品價格
        get_goods_price();
    }

    /**
     * 購買商品數量加加減減
     */
    function switch_num(num)
    {
        var num2 = parseInt($("#goods_num").val());
        num2 += num;
        if(num2 < 1) num2 = 1; // 保證購買數量不能少於 1
        $("#goods_num").val(num2); // 修改商品購買數量
        // 更新商品價格
        //get_goods_price();
    }
    // 用作 sort 排序用
    function sortNumber(a,b)
    {
        return a - b;
    }
    /*** 查詢商品價格*/
    function get_goods_price()
    {

        var goods_price = "{$goods.shop_price}"; // 商品起始價
        var store_count = "{$goods.store_count}"; // 商品起始庫存

        var spec_goods_price = "{$spec_goods_price}";  // 規格 對應 價格 庫存表   //alert(spec_goods_price['28_100']['price']);
        // 如果有屬性選擇項
        if(spec_goods_price != null)
        {
            goods_spec_arr = new Array();
            $("input[name^='goods_spec']:checked").each(function(){
                goods_spec_arr.push($(this).val());
            });
            var spec_key = goods_spec_arr.sort(sortNumber).join('_');  //排序後組合成 key
            goods_price = spec_goods_price[spec_key]['price']; // 找到對應規格的價格
            store_count = spec_goods_price[spec_key]['store_count']; // 找到對應規格的庫存
        }

        var goods_num = parseInt($("#goods_num").val());
        // 庫存不足的情況
        if(goods_num > store_count)
        {
            goods_num = store_count;
            // layer.msg('庫存僅剩 '+store_count+' 件', {icon: 2}); //alert('庫存僅剩 '+store_count+' 件');
            //$.artTip('庫存僅剩 '+store_count+' 件', 800);
            //$("#goods_num").val(goods_num);
        }

        var flash_sale_price = parseFloat("{$goods['flash_sale']['price']}");
        (flash_sale_price > 0) && (goods_price = flash_sale_price);

        $("#goods_price").html(goods_price); // 變動價格顯示
        if(store_count==0)
        {
            $("#store_count").html('{$Think.lang.stockout} '); // 變動價格顯示
            $("#join_cart_now").find("a").css({
                "background-color":"#8A8A8A",
                "border":"1px solid #8A8A8A",
            });

            $("#join_cart").find("a").find("span").html('{$Think.lang.goodsstockout} ');

            $("#join_cart").find("a").attr("rel",$("#join_cart").find("a").attr("href"));
            $("#join_cart").find("a").attr("href","javascript:void(0);");

            $("#join_cart_now").find("a").attr("rel",$("#join_cart_now").find("a").attr("href"));
            $("#join_cart_now").find("a").attr("href","javascript:void(0);");

        }
        else
        {

            if($("#join_cart_now").find("a").attr("href")=="javascript:void(0);")
            {


                $("#join_cart_now").find("a").css({
                    "background-color":"#000000",
                    "border":"1px solid #000",
                });
                $("#join_cart_now").find("a").attr("href",$("#join_cart_now").find("a").attr("rel"));
                $("#join_cart_now").find("a").attr("rel","javascript:void(0);");


                $("#join_cart").find("a").find("span").html('{$Think.lang.addcart} ');

                $("#join_cart").find("a").attr("href",$("#join_cart").find("a").attr("rel"));
                $("#join_cart").find("a").attr("a","javascript:void(0);");


            }
            $("#store_count").html(store_count+' {$Think.lang.jian}'); // 變動價格顯示
        }
    }

    /**
     * 切換 商品詳情  用戶評價  規格參數  包裝清單  售後服務
     */
    function switch_tab(cur,tab)
    {
        $("#tab1,#tab2,#tab3,#tab4,#tab5").hide(); // 先全部隱藏
        $("#"+tab).show();	// 再顯示其中壹個
        $("ul.tab_li li").removeClass("current"); // 先全部樣式去除
        $(cur).addClass("current"); //  單獨的給當前點擊這個加上
    }

    // 驗證碼切換
    function verify(){
        $('#verify_code').attr('src','/index.php?m=Home&c=Index&a=verify&type=consult&fontSize=20&length=4&r='+Math.random());
    }

    //縮略圖切換
    $('.small-pic-li').each(function(i,o){
        var lilength = $('.small-pic-li').length;
        $(o).hover(function(){
            $(o).siblings().removeClass('current');
            $(o).addClass('current');
            $('#zoomimg').attr('src',$(o).find('img').attr('data-img'));
            $('#zoomimg').attr('jqimg',$(o).find('img').attr('data-big'));
            if(i==0){
                $('.next-left').addClass('disabled');
            }
            if(i+1==lilength){
                $('.next-right').addClass('disabled');
            }
        });
    })

    //前壹張縮略圖
    $('.next-left').click(function(){
        var newselect = $('.small-pic>.current').prev();
        $('.small-pic-li').removeClass('current');
        $(newselect).addClass('current');
        $('#zoomimg').attr('src',$(newselect).find('img').attr('data-img'));
        $('#zoomimg').attr('jqimg',$(newselect).find('img').attr('data-big'));
        var index = $('.small-pic>li').index(newselect);
        if(index==0){
            $('.next-left').addClass('disabled');
        }
        $('.next-right').removeClass('disabled');
    })

    //後前壹張縮略圖
    $('.next-right').click(function(){
        var newselect = $('.small-pic>.current').next();
        $('.small-pic-li').removeClass('current');
        $(newselect).addClass('current');
        $('#zoomimg').attr('src',$(newselect).find('img').attr('data-img'));
        $('#zoomimg').attr('jqimg',$(newselect).find('img').attr('data-big'));
        var index = $('.small-pic>li').index(newselect);
        if(index+1 == $('.small-pic>li').length){
            $('.next-right').addClass('disabled');
        }
        $('.next-left').removeClass('disabled');
    })

    $('.store-selector').mouseleave(function(){
        $('.store-selector').removeClass("hover");
    })
</script>

<!--------收貨地址，物流運費-開始-------------->
<script src="__STATIC__/js/location.js"></script>
<!--------收貨地址，物流運費--結束-------------->

<script src="__PUBLIC__/js/jqueryUrlGet.js"></script><!--獲取get參數插件-->
<script> set_first_leader(); //設置推薦人 </script>

<!--------footer-開始-------------->
<include file="Public/ikefu" />
<include file="Public/footer" />
<!--------footer-結束-------------->
</body>
</html>
